package org.ManagerSystem.services;


import org.ManagerSystem.DTO.LoginResult;
import org.ManagerSystem.DTO.PageBean;
import org.ManagerSystem.entity.Employee;

import java.util.List;

/**
 * 用来处理与员工相关的业务的服务层的接口
 * @author 群威
 */
public interface EmployeeService {

    LoginResult login(Employee employee);

    Employee queryByEusername(String eusername);

    PageBean<Employee> employeeList(int rid , int currentPage , long did);

    String queryExist(Employee employee);

    void save(Employee employee);

    Employee queryById(long eid);

    void update(Employee employee);

    void deleteById(long eid);

    void updatePassword(Employee employee);
}
